
<!--页面主要内容-->
<main class="lyear-layout-content">
  <div class="container-fluid p-t-15">
    <div class="row">
      <div class="col-lg-12">
        <div class="card">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">管理员管理</a></a>
            <a><cite>编辑管理员</cite></a>
          </span>
          <div class="card-body">
            <form action="#!" method="post" class="row">
              <button class="btn btn-secondary"><a href="{:url('admin/admin/index')}">返回列表</a></button>
              <div class="form-group col-md-12">
                <label for="adminname">管理员名称</label>
                <input type="text" required class="form-control" id="adminname" name="adminname" value="{$admin.username}" placeholder="请输入名称" />
              </div>
              <div class="form-group col-md-12">
                <label for="nickname">昵称</label>
                <input type="text" required class="form-control" id="nickname" name="nickname" value="{$admin.nickname}"
                  placeholder="请输入昵称" />
              </div>
              <div class="form-group col-md-12">
                <label for="password">密码</label></label>
                <input type="password" class="form-control" id="password" name="password" value=""
                  placeholder="请输入密码" />
              </div>
              <div class="form-group col-md-12">
                <label for="repassword">确认密码</label>
                <input type="password" class="form-control" id="repassword" name="repassword" value=""
                  placeholder="请输入密码" />
              </div>
              <div class="form-group col-md-12">
                <label for="status">状态</label>
                <div class="clearfix">
                  <div class="custom-control custom-radio custom-control-inline">
                    <input type="radio" id="statusUp" value="1" name="state" class="custom-control-input" checked>
                    <label class="custom-control-label" for="statusUp">启用</label>
                  </div>
                  <div class="custom-control custom-radio custom-control-inline">
                    <input type="radio" id="statusDown" value="0" name="state" class="custom-control-input">
                    <label class="custom-control-label" for="statusDown">禁用</label>
                  </div>
                </div>
              </div>
              <div class="form-group col-md-12">
                <button type="submit" class="btn btn-primary sBtn">确 定</button>
                <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返
                  回</button>
              </div>
            </form>

          </div>
        </div>
      </div>

    </div>
  </div>
</main>
<!--End 页面主要内容-->

<script>
  // layui.use(['layer'], function () {
  //   var $ = layui.jquery,
  //   layer = layui.layer

  //   $('.sBtn').click(function() {
  //     layer.confirm('is not?', {icon: 3, title:'提示'}, function(index){
  //     //do something
      
  //     layer.close(index);
  //   });
  //   })
  // })
</script>
